package com.ruoyi.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 角色信息表
 * </p>
 *
 * @author lh
 * @since 2025-01-16
 */
public class Sys_role implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @TableId(value = "role_id", type = IdType.AUTO)
    private Long role_id;

    /**
     * 角色名称
     */
    private String role_name;

    /**
     * 角色权限字符串
     */
    private String role_key;

    /**
     * 显示顺序
     */
    private Integer role_sort;

    /**
     * 数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）
     */
    private String data_scope;

    /**
     * 菜单树选择项是否关联显示
     */
    private Boolean menu_check_strictly;

    /**
     * 部门树选择项是否关联显示
     */
    private Boolean dept_check_strictly;

    /**
     * 角色状态（0正常 1停用）
     */
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String del_flag;

    /**
     * 创建者
     */
    private String create_by;

    /**
     * 创建时间
     */
    private Date create_time;

    /**
     * 更新者
     */
    private String update_by;

    /**
     * 更新时间
     */
    private Date update_time;

    /**
     * 备注
     */
    private String remark;


    public Long getRole_id() {
        return role_id;
    }

    public void setRole_id(Long role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public String getRole_key() {
        return role_key;
    }

    public void setRole_key(String role_key) {
        this.role_key = role_key;
    }

    public Integer getRole_sort() {
        return role_sort;
    }

    public void setRole_sort(Integer role_sort) {
        this.role_sort = role_sort;
    }

    public String getData_scope() {
        return data_scope;
    }

    public void setData_scope(String data_scope) {
        this.data_scope = data_scope;
    }

    public Boolean getMenu_check_strictly() {
        return menu_check_strictly;
    }

    public void setMenu_check_strictly(Boolean menu_check_strictly) {
        this.menu_check_strictly = menu_check_strictly;
    }

    public Boolean getDept_check_strictly() {
        return dept_check_strictly;
    }

    public void setDept_check_strictly(Boolean dept_check_strictly) {
        this.dept_check_strictly = dept_check_strictly;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDel_flag() {
        return del_flag;
    }

    public void setDel_flag(String del_flag) {
        this.del_flag = del_flag;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Sys_role{" +
        "role_id=" + role_id +
        ", role_name=" + role_name +
        ", role_key=" + role_key +
        ", role_sort=" + role_sort +
        ", data_scope=" + data_scope +
        ", menu_check_strictly=" + menu_check_strictly +
        ", dept_check_strictly=" + dept_check_strictly +
        ", status=" + status +
        ", del_flag=" + del_flag +
        ", create_by=" + create_by +
        ", create_time=" + create_time +
        ", update_by=" + update_by +
        ", update_time=" + update_time +
        ", remark=" + remark +
        "}";
    }
}
